/* ============================================
   ESTILOS DEL FOOTER PROFESIONAL COMPLETO
   Psicología de la Religión
   Extraídos del index.html (página de inicio)
   ============================================ */

/* -----------------------------------------------
   1. CONTENEDOR PRINCIPAL DEL FOOTER
   ----------------------------------------------- */
#footer-profesional {
  background: linear-gradient(160deg, #1a3a4a 0%, #2a5a6a 40%, #1e4d5e 100%) !important;
  color: #c8dfe6 !important;
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  position: relative;
  overflow: visible;
  clear: both;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-sizing: border-box;
}

/* Línea decorativa superior (gradiente verde-azul-verde) */
#footer-profesional::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3DBD51, #2E7EDE, #3DBD51);
}

/* -----------------------------------------------
   2. LINKS DEL FOOTER
   ----------------------------------------------- */
#footer-profesional a {
  color: #8ec8d8 !important;
  text-decoration: none !important;
  transition: color 0.3s ease, transform 0.2s ease;
}

#footer-profesional a:hover {
  color: #ffffff !important;
}

/* -----------------------------------------------
   3. SECCIÓN SUPERIOR (Grid de 5 columnas)
   ----------------------------------------------- */
.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 30px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.6fr 0.5fr;
  gap: 28px;
}

/* -----------------------------------------------
   4. COLUMNA: MARCA / BRAND
   ----------------------------------------------- */
.footer-brand {
  padding-right: 20px;
}

.footer-brand img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.footer-brand h3 {
  font-family: 'Roboto Slab', 'Georgia', serif;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: 0.3px;
}

.footer-brand p {
  font-size: 13px;
  color: #9ab8c4;
  margin: 0;
  line-height: 1.6;
}

/* -----------------------------------------------
   5. TÍTULOS DE SECCIÓN DEL FOOTER
   ----------------------------------------------- */
.footer-section h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 12px 0;
  padding-bottom: 7px;
  border-bottom: 2px solid rgba(61, 189, 81, 0.4);
  display: inline-block;
}

/* -----------------------------------------------
   6. COLUMNA: NAVEGACIÓN
   ----------------------------------------------- */
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li {
  margin-bottom: 4px;
}

.footer-nav ul li a {
  font-size: 13.5px;
  display: inline-block;
  padding: 2px 0;
  position: relative;
}

.footer-nav ul li a::before {
  content: '›';
  margin-right: 8px;
  color: #3DBD51;
  font-weight: bold;
  font-size: 16px;
  transition: margin-right 0.2s ease;
}

.footer-nav ul li a:hover::before {
  margin-right: 12px;
}

/* -----------------------------------------------
   7. COLUMNA: CONTACTO
   ----------------------------------------------- */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-contact-item i {
  color: #3DBD51;
  font-size: 15px;
  margin-top: 3px;
  min-width: 18px;
  text-align: center;
}

.footer-contact-item span {
  font-size: 12.5px;
}

.footer-contact-item a {
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-size: 12px;
}

/* -----------------------------------------------
   8. COLUMNA: REDES SOCIALES
   ----------------------------------------------- */
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Colores hover por red social */
.footer-social a.social-fb:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.footer-social a.social-yt:hover {
  background: #FF0000;
  border-color: #FF0000;
}

.footer-social a.social-ig:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #dc2743;
}

/* -----------------------------------------------
   9. BARRA INFERIOR DEL FOOTER
   ----------------------------------------------- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 30px;
  text-align: center;
}

.footer-bottom-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copyright {
  font-size: 12.5px;
  color: #7a9eab;
}

.footer-copyright strong {
  color: #a0c8d4;
  font-weight: 500;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: #7a9eab;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* -----------------------------------------------
   10. ESTILOS LEGACY DEL FOOTER (Tema CoverNews)
   ----------------------------------------------- */
.site-footer {
  background: #031c27;
  color: #fff;
}

.site-footer a,
.site-footer a:hover,
.site-footer a:visited,
.site-footer a:active {
  color: #fff;
}

.site-info {
  background: #4aa5a4;
  padding: 20px 0;
  text-align: center;
}

/* -----------------------------------------------
   11. RESPONSIVE FOOTER
   ----------------------------------------------- */
@media (max-width: 880px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 25px 20px 18px;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px 10px;
    padding: 12px 10px 8px;
  }

  .footer-brand {
    padding-right: 0;
  }

  .footer-brand img {
    width: 36px;
    height: 36px;
    margin-bottom: 6px;
  }

  .footer-brand h3 {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .footer-brand p {
    font-size: 10px;
    line-height: 1.4;
  }

  .footer-section h4 {
    font-size: 10px;
    margin-bottom: 6px;
    padding-bottom: 4px;
  }

  .footer-nav ul li {
    margin-bottom: 1px;
  }

  .footer-nav ul li a {
    font-size: 11px;
    padding: 1px 0;
  }

  .footer-nav ul li a::before {
    font-size: 12px;
    margin-right: 4px;
  }

  .footer-contact {
    grid-column: 1 / 2;
  }

  .footer-redes {
    grid-column: 2 / 4;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-contact-item {
    margin-bottom: 4px;
    gap: 5px;
  }

  .footer-contact-item span,
  .footer-contact-item a {
    font-size: 10px;
  }

  .footer-contact-item i {
    font-size: 11px;
  }

  .footer-social {
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
  }

  .footer-social a {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .footer-bottom {
    padding: 6px 10px;
  }

  .footer-copyright {
    font-size: 10px;
  }

  .footer-bottom-links a {
    font-size: 9px;
  }
}
